#include "MyTable.h"
#include "MyLineEdit.h"
#include <QApplication>
#include <QtConcurrent>
#include "AccountingVoucher.h"
#include "DebugTool.h"
#include "ExcelManager.h"
#include "HeaderSection.h"
#include "Dialog.h"

QString fileName_Qss = "StyleSheet.qss";

void loadJsonDoc(){
    QFile   file("json/data.json");
    file.open (QFile::ReadWrite);
    QJsonParseError error;
    QJsonDocument jsonDoc = QJsonDocument::fromJson (file.readAll (),&error);
    file.close ();
    QJsonObject json = jsonDoc.object ();

    for (QJsonObject::iterator iter = json.begin ();  iter != json.end (); iter++) {
        Dout << iter.key () << iter.value ();
    }
}

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
#if 1
    AccountingVoucher w;
    w.show ();
    a.exec ();
#else
    Dialog w;
    w.show ();
    a.exec ();
#endif
    return 0;
}
